package com.zpark.se.wrapper_classes;

/**
 * @PackageName: com.zpark.se.wrapper_classes
 * @ClassName: Demo02
 * @Description:
 * @author: RZS
 * @date: 2024/10/28  11:50
 */
public class Demo02 {
    public static void main(String[] args) {
        // 创建Byte类型包装类对象
        Byte b = new Byte((byte)100);
        Byte b2 = 100;

        // 常用方法
        /*
        将字符串转为Byte类型
         */
        byte b1 = Byte.parseByte("100");

        Short s1 = 56;

    }
}
